package com.kclm.xsap.config;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource("classpath:xsap-config.properties")
@Data
@Slf4j
public class CustomXsapConfig {

    @Value("${reservation.gap_minute}")
    private Long gap_minute;

    @Value("${custom.cache_time}")
    private Long cache_time;

    public CustomXsapConfig() {
        log.debug("===> 创建自定义配置对应的属性类");
    }

}
